package com.sangananitsolution.fragments;

import android.app.Fragment;
import android.graphics.Color;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.webkit.WebView;

import com.sangananitsolution.gogoproject.R;



/**
 * @author Vishwapratap 
 *
 */
public class Guide extends Fragment{
	private WebView myWebView;
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		
		
		View view=inflater.inflate(R.layout.guide, container, false);
		
		myWebView = (WebView) view. findViewById(R.id.webviewforguide);
		myWebView.setBackgroundColor(Color.parseColor("#5d4431"));
		//myWebView.loadUrl("http://www.google.com");
		String sAssets = "file:///android_asset/" + "me.html";
		
		myWebView.getSettings().setJavaScriptEnabled(true);
		myWebView.loadUrl(sAssets);
	 
		
		
		return view;
	}

}
